# coding: utf-8
from application import db



class Classify(db.Model):
    __tablename__ = 't_classify'

    id = db.Column(db.BigInteger, primary_key=True, unique=True, comment='序号')
    name = db.Column(db.String(50), comment='类别')
    weight = db.Column(db.Integer, nullable=False, comment='权重')
    status = db.Column(db.Integer, nullable=False, comment='状态')
    created_time = db.Column(db.DateTime, nullable=False, comment='创建时间')
    updated_time = db.Column(db.DateTime, nullable=False, comment='更新时间')
